<h1>Ems elements List</h1>

<table>
  <thead>
    <tr>
      <th>Id</th>
      <th>Title</th>
      <th>Published</th>
      <th>Is enabled</th>
      <th>Type</th>
      <th>Section</th>
      <th>Created at</th>
      <th>Updated at</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($ems_elements as $ems_element): ?>
    <tr>
      <td><a href="<?php echo url_for('element/show?id='.$ems_element->getId()) ?>"><?php echo $ems_element->getId() ?></a></td>
      <td><?php echo $ems_element->getTitle() ?></td>
      <td><?php echo $ems_element->getPublished() ?></td>
      <td><?php echo $ems_element->getIsEnabled() ?></td>
      <td><?php echo $ems_element->getTypeId() ?></td>
      <td><?php echo $ems_element->getSectionId() ?></td>
      <td><?php echo $ems_element->getCreatedAt() ?></td>
      <td><?php echo $ems_element->getUpdatedAt() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('element/new') ?>">New</a>
